#include<stdio.h>

int main()
{
	char ch;
	scanf(" %c",&ch);
	
	printf("%u\n",ch);
	return 0;
}
